# -*- coding: utf-8 -*-
"""
 @Time    : 2021/1/13 下午6:16
 @Author  : tgy
 
"""

class MyType(type):
    ...
    age = 21

class A(object,metaclass=MyType):
    ...
    # age = 22

class B(A):
    ...
    # age = 23


class C(B):
    ...
    # age = 24


if __name__ == '__main__':
    ...
    print(C.age)
    print(dir(C))
